package com.ngkj.zmfptback.business.bean;

import java.io.Serializable;
import java.lang.ref.PhantomReference;

/**
 * @author ChenHN
 * @since 2021/12/30 creation
 **/
public class Image implements Serializable {
    private Long id ;
    private String name;
    private String path;
    private String type;
    private Long typeId;

    public Image() {
    }

    public Image(Long id, String name, String path, String type, Long typeId) {
        this.id = id;
        this.name = name;
        this.path = path;
        this.type = type;
        this.typeId = typeId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    @Override
    public String toString() {
        return "Image{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", path='" + path + '\'' +
                ", type='" + type + '\'' +
                ", typeId=" + typeId +
                '}';
    }
}
